package com.lz.feignClient;

import com.lz.feignClient.hystrix.FeignAHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "eureka-client-a", fallback = FeignAHystrix.class) // 标注该类是一个feign接口,fallback指定熔断类
public interface FeignA {


        @GetMapping("test/lz/hello")
        public String test();

}
